home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.2 Development Libraries / SGI IRIX 6.2 Development Libraries.iso / dist / complib.idb / usr / share / catman / p_man / cat3 / complib / scfftm1dui.z / scfftm1dui
Text File  |  1996-03-14  |  5KB  |  133 lines

  1.  
  2.  
  3.  
  4. ssssccccffffffffttttmmmm1111dddduuuuiiii,,,,ddddzzzzffffffffttttmmmm1111dddduuuuiiii((((3333FFFF))))                            ssssccccffffffffttttmmmm1111dddduuuuiiii,,,,ddddzzzzffffffffttttmmmm1111dddduuuuiiii((((3333FFFF))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ssssccccffffffffttttmmmm1111dddduuuuiiii,,,, ddddzzzzffffffffttttmmmm1111dddduuuuiiii ---- initialize the coefficient array for real-to-
  10.      complex Multiple 1D FFT modules.
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
  13.      _F_O_R_T_R_A_N _S_P_E_C_I_F_I_C_A_T_I_O_N
  14.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee SSSSCCCCFFFFFFFFTTTTMMMM1111DDDDUUUUIIII(((( nnnn,,,, ccccooooeeeeffffffff ))))
  15.      iiiinnnntttteeeeggggeeeerrrr                  nnnn
  16.      rrrreeeeaaaallll           ccccooooeeeeffffffff((((nnnn++++11115555))))
  17.  
  18.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee DDDDZZZZFFFFFFFFTTTTMMMM1111DDDDUUUUIIII(((( nnnn,,,, ccccooooeeeeffffffff ))))
  19.      iiiinnnntttteeeeggggeeeerrrr                  nnnn
  20.      rrrreeeeaaaallll****8888              ccccooooeeeeffffffff((((nnnn++++11115555))))
  21.  
  22.      _C _S_P_E_C_I_F_I_C_A_T_I_O_N
  23.      ####iiiinnnncccclllluuuuddddeeee <<<<fffffffftttt....hhhh>>>>
  24.      ffffllllooooaaaatttt ****ssssccccffffffffttttmmmm1111dddduuuuiiii(((( iiiinnnntttt nnnn,,,, ffffllllooooaaaatttt ****ccccooooeeeeffffffff))));;;;
  25.  
  26.      ddddoooouuuubbbblllleeee ****ddddzzzzffffffffttttmmmm1111dddduuuuiiii(((( iiiinnnntttt nnnn,,,, ddddoooouuuubbbblllleeee ****ccccooooeeeeffffffff))));;;;
  27.  
  28.  
  29. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  30.      Initialize, the coefficient array which is used in the Multiple 1D FFT
  31.      modules.  This array contains the different twiddle factors and the
  32.      factorization of N into prime numbers.
  33.      As the FFT modules scfftm1d or dzfftm1d only read the _c_o_e_f_f array, it may
  34.      be reused as long as necessary once it has been initialized.
  35.  
  36.      In C, if _p_t_r is NULL, _s_c_f_f_t_m_1_d_u_i or _d_z_f_f_t_m_1_d_u_i returns a pointer to an
  37.      allocated buffer.
  38.  
  39.      SCFFTM1DUI should be used to initialize the coefficient array before any
  40.      call to SCFFTM1DU
  41.      DZFFTM1DUI should be used to initialize the coefficient array before any
  42.      call to DZFFTM1DU
  43.  
  44. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  45.      NNNN ---- Integer. Specifies the length of the sequence to be transformed.
  46.       Unchanged on exit.
  47.  
  48.      CCCCOOOOEEEEFFFFFFFF ---- Array (C or Fortran) or NULL pointer(C).
  49.  
  50. EEEExxxxaaaammmmpppplllleeee ooooffff CCCCaaaalllllllliiiinnnngggg SSSSeeeeqqqquuuueeeennnncccceeee
  51.      Initializing a coefficient array for real-to-complex FFTs of size 200.
  52.  
  53.      _F_o_r_t_r_a_n :
  54.           complex coeff(200+15)
  55.           call scfftm1dui( 200, coeff)
  56.  
  57.      _C :
  58.           #include <fft.h>
  59.           float *coeff;
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ssssccccffffffffttttmmmm1111dddduuuuiiii,,,,ddddzzzzffffffffttttmmmm1111dddduuuuiiii((((3333FFFF))))                            ssssccccffffffffttttmmmm1111dddduuuuiiii,,,,ddddzzzzffffffffttttmmmm1111dddduuuuiiii((((3333FFFF))))
  71.  
  72.  
  73.  
  74.          coeff = scfftm1dui( 200, NULL);
  75.  
  76. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  77.           fft, scfftm1du, dzfftm1du
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.